 
<div class="row-fluid">
	
	<div class="span6">
		
		<section class="block">
			
			<br /><br />
			
			<h2 class="block-title">Forgot your password ?</h2>
			
			<div class="block-content">
				
				<p>Type your email, new password will be send to your email.</p>
				
				<div id="forgot_form">
					<?php 
					if ( empty($model) ) $model = new ForgotPasswordForm();
					
					$form=$this->beginWidget('CActiveForm', array(
						'id' => 'profile-form',
						'action' => $this->createUrl('/user/forgotPassword'),
						'enableClientValidation' => false,
						'clientOptions' => array(
							'validateOnSubmit' => true,
						),
						'htmlOptions' => array(
							'class' => (isAjaxRequest() ? 'cm-ajax' : ''),
						),
					)); ?>

					<div class="form-field row">
						<?php // echo $form->labelEx($model,'username'); ?>
						<?php echo $form->textField($model,'username', array('class' => 'input-text', 'placeholder' => $model->getAttributeLabel('username'), 'autocomplete' => 'off')); ?>
						<?php echo $form->error($model,'username'); ?>
					</div>

					<?php if(CCaptcha::checkRequirements()): ?>
					<div class="form-field row">
						<?php echo $form->label($model,'verifyCode'); ?><br />
						<?php $this->widget('CCaptcha'); ?>
						<?php echo $form->textField($model,'verifyCode', array('class' => 'input-text')); ?>
						<?php echo $form->error($model,'verifyCode'); ?>
					</div>
					<?php endif; ?>

					<div class="form-field row buttons-container nowrap">
						<?php echo CHtml::submitButton(t('Get New Password'), array('class' => 'button2')); ?>
					</div>

					<?php $this->endWidget(); ?>
				<!--forgot_form--></div>

			</div>
			
		</section>
		
	</div> 
</div>

<br /><br /><br /><br />